import { post, get } from '../../../request.js'
// 查询执行器列表
export function listJobGroup(query) {
    return post({
        url: '/tool/xxljob/jobgroup/pageList',
        params: query
    })
}

export function listAllJobGroup() {
    return post({
        url: '/tool/xxljob/jobgroup/listAll'
    })
}

// 新增执行器
export const addJobGroup = params => {
    return post({
        url: '/tool/xxljob/jobgroup/save',
        params
    })
}

// 修改执行器
export const updateJobGroup = params => {
    return post({
        url: '/tool/xxljob/jobgroup/update',
        params
    })
}

// 删除执行器
export const delJobGroup = params => {
    return get({
        url: '/tool/xxljob/jobgroup/remove',
        params
    })
}
